<template>
  <div class="page-box">
    <div class="flex-c" style="margin-bottom: 20px;">
        <div class="title">镜像文件</div>
        <el-button size="small" type="primary">选择文件</el-button>
    </div>
    <div style="margin: 0 10px;">
        <plist ref="pList" :tableData="tableData" :tableColumn="tableColumn" :hasIndex="false" >
        </plist>
    </div>
    
  </div>
</template>

<script>
export default {
    data(){
        return{
            tableColumn: [{
            field: "name",
            label: "名称",
          },
          
          {
            field: "dx",
            label: "大小",
          },
          {
            field: "jd",
            label: "任务进度",
          },
          {
            field: "operation",
            type: "handler",
            label: "操作",
            btnlist: [
              {
                name: '上传',
                handle: ()=>{console.log('click')}
              },
              {
                name: '删除',
                handle: ()=>{console.log('click')}
              },
    
            ]
          },
        ],
        tableData: [{name:'physical.o3',dx:'14.5kb',jd:'30%'}],
        }
    }

}
</script>

<style lang="less" scoped>
.page-box{
    .title {
      font-weight: 650;
      font-size: 16px;
      color: rgba(0, 0, 0, 0.847058823529412);
      margin-right: 35px;
      min-width: 80px;
    }
}

</style>